//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Avril Lavigne, All Time Low & Royal and The Serpent','Shoreline Amphitheatre - CA','Mountain View, CA','Tuesday','5/28/2024','7:00 PM','6226910','Avril-Lavigne--All-Time-Low---Royal-and-The-Serpent-5-28-2024'],['Brooks And Dunn','Shoreline Amphitheatre - CA','Mountain View, CA','Friday','6/7/2024','7:00 PM','6226981','Brooks-And-Dunn-6-7-2024'],['Third Eye Blind, Yellowcard & Arizona','Shoreline Amphitheatre - CA','Mountain View, CA','Saturday','6/15/2024','6:30 PM','6203448','Third-Eye-Blind--Yellowcard---Arizona-6-15-2024'],['New Kids On The Block','Shoreline Amphitheatre - CA','Mountain View, CA','Wednesday','7/3/2024','7:00 PM','6045179','New-Kids-On-The-Block-7-3-2024'],['Hootie and The Blowfish','Shoreline Amphitheatre - CA','Mountain View, CA','Wednesday','7/17/2024','7:00 PM','6062236','Hootie-and-The-Blowfish-7-17-2024'],['Barbie: The Movie - In Concert','Shoreline Amphitheatre - CA','Mountain View, CA','Thursday','7/25/2024','8:00 PM','6302525','Barbie--The-Movie---In-Concert-7-25-2024'],['Niall Horan','Shoreline Amphitheatre - CA','Mountain View, CA','Friday','7/26/2024','7:30 PM','5724950','Niall-Horan-7-26-2024'],['Outlaw Music Festival: Willie Nelson, Bob Dylan & John Mellencamp','Shoreline Amphitheatre - CA','Mountain View, CA','Saturday','8/3/2024','5:30 PM','6291278','Outlaw-Music-Festival--Willie-Nelson--Bob-Dylan---John-Mellencamp-8-3-2024'],['Alanis Morissette, Joan Jett And The Blackhearts & Morgan Wade','Shoreline Amphitheatre - CA','Mountain View, CA','Wednesday','8/7/2024','7:00 PM','6071961','Alanis-Morissette--Joan-Jett-And-The-Blackhearts---Morgan-Wade-8-7-2024'],['Tyler Childers','Shoreline Amphitheatre - CA','Mountain View, CA','Wednesday','8/14/2024','7:00 PM','5983476','Tyler-Childers-8-14-2024'],['Good Vibes Cali Tour: Rebelution, Kolohe Kai, Matisyahu, Cydeways & DJ Mackle','Shoreline Amphitheatre - CA','Mountain View, CA','Saturday','8/17/2024','6:00 PM','6277916','Good-Vibes-Cali-Tour--Rebelution--Kolohe-Kai--Matisyahu--Cydeways---DJ-Mackle-8-17-2024'],['Slightly Stoopid & Dirty Heads','Shoreline Amphitheatre - CA','Mountain View, CA','Friday','8/23/2024','6:00 PM','6303694','Slightly-Stoopid---Dirty-Heads-8-23-2024'],['Santana & Counting Crows','Shoreline Amphitheatre - CA','Mountain View, CA','Tuesday','8/27/2024','7:00 PM','6264346','Santana---Counting-Crows-8-27-2024'],['Five Finger Death Punch','Shoreline Amphitheatre - CA','Mountain View, CA','Tuesday','9/3/2024','6:30 PM','6311968','Five-Finger-Death-Punch-9-3-2024'],['Thirty Seconds to Mars & AFI','Shoreline Amphitheatre - CA','Mountain View, CA','Wednesday','9/4/2024','6:30 PM','6071688','Thirty-Seconds-to-Mars---AFI-9-4-2024'],['Train, REO Speedwagon & Yacht Rock Revue','Shoreline Amphitheatre - CA','Mountain View, CA','Saturday','9/7/2024','6:25 PM','6239166','Train--REO-Speedwagon---Yacht-Rock-Revue-9-7-2024'],['Hozier','Shoreline Amphitheatre - CA','Mountain View, CA','Tuesday','9/10/2024','8:00 PM','6243135','Hozier-9-10-2024'],['Glass Animals','Shoreline Amphitheatre - CA','Mountain View, CA','Wednesday','9/11/2024','7:45 PM','6361275','Glass-Animals-9-11-2024'],['Dan And Shay, Jake Owen & Dylan Marlowe','Shoreline Amphitheatre - CA','Mountain View, CA','Saturday','9/14/2024','7:00 PM','6276451','Dan-And-Shay--Jake-Owen---Dylan-Marlowe-9-14-2024'],['Kidz Bop Live','Shoreline Amphitheatre - CA','Mountain View, CA','Sunday','9/22/2024','4:00 PM','6220090','Kidz-Bop-Live-9-22-2024'],['The Black Keys & The Head and The Heart','Shoreline Amphitheatre - CA','Mountain View, CA','Sunday','9/29/2024','7:00 PM','6353431','The-Black-Keys---The-Head-and-The-Heart-9-29-2024'],['Korn','Shoreline Amphitheatre - CA','Mountain View, CA','Sunday','10/6/2024','6:30 PM','6342987','Korn-10-6-2024'],['Meghan Trainor, Paul Russell & Chris Olsen','Shoreline Amphitheatre - CA','Mountain View, CA','Friday','10/18/2024','6:30 PM','6321816','Meghan-Trainor--Paul-Russell---Chris-Olsen-10-18-2024'],['Imagine Dragons','Shoreline Amphitheatre - CA','Mountain View, CA','Sunday','10/20/2024','7:00 PM','6396743','Imagine-Dragons-10-20-2024'],['Porter Robinson','Shoreline Amphitheatre - CA','Mountain View, CA','Friday','10/25/2024','8:00 PM','6406769','Porter-Robinson-10-25-2024']],'Shoreline Amphitheatre','http://www.ticketnetwork.com/ticket/Shoreline-Amphitheatre-events.aspx');